const Koa = require('koa')
const app = new Koa() 
const uuidv1 = require('uuid/v1')

var server = require('http').createServer(app.callback()) 
var io = require('socket.io')(server) 
app.use(require('koa-static')('static'));

app.use((ctx,next) => {
	next()
})



io.on('connection', function(socket){
  socket.on('pleaseStartFinding', (callback) => {
    console.log('I hear the pleaseStartFinding')
    callback({
      ret: 1000,
    });
  });
});


server.listen('8000')

